package service.impl;

import Dao.MusicBoxDAO;
import Dao.impl.MusicBoxDAOImpl;
import pojo.MusicBox;
import service.MusicBoxService;

import java.util.List;

public class MusicBoxServiceImpl implements MusicBoxService {
    MusicBoxDAO musicBoxDAO = new MusicBoxDAOImpl();
    @Override
    public List<MusicBox> getSongRequestDetails(int recipientId, int pageNum, int pageSize) {
        return musicBoxDAO.getSongRequestDetails(recipientId, pageNum, pageSize);
    }
}
